package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.DbChatGroup;
import com.example.ymm.modules1.entity.my.user.DbChatGroupUser;
import com.example.ymm.modules1.entity.my.user.DbUser;
import com.example.ymm.modules1.service.dto.DbChatGroupUserQueryCriteria;

import java.util.List;

public interface DbChatGroupUserService extends BaseService<DbChatGroupUser> {


    TableList<DbChatGroupUser> list(DbChatGroupUserQueryCriteria criteria, YmPageDto ymPage);

    List<DbChatGroupUser> queryAll(DbChatGroupUserQueryCriteria criteria);

    void syncGroupUser(DbChatGroup group,List<DbUser> dbUsers);


    void addGroupUser(String openConversationId,String userIds);


}
